package homeWork2;
import java.util.Scanner;
public class Test {
	/*public static void input(Shape a) {
		Scanner entrance = new Scanner(System.in); 
		int b = entrance.nextInt();
		a.setSideNum(b);
		a.Draw();
	}*/

	public static void main(String[] args) {
		Shape triangle = new Triangle();
		triangle.setSideNum(3);
		triangle.Draw();
		Shape rectangle = new Rectangle();
		rectangle.setSideNum(4);
		rectangle.Draw();
		Shape pentagon = new Pentagon();
		pentagon.setSideNum(5);
		pentagon.Draw();
		
	}

}
